﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LibrarySync2.Common.Interfaces;

namespace LibrarySync2.Common.Event
{
    public class ComparisonEventArgs : EventArgs
    {
        public string Message { get; private set; }
        public IFileSystemUpdate Comparison { get; private set; }

        public ComparisonEventArgs(string message)
            : this(message, null)
        {
            //Do nothing more.
        }

        public ComparisonEventArgs(string message, IFileSystemUpdate comparison)
        {
            Message = message;
            Comparison = comparison;
        }

        public override string ToString()
        {
            return Message;
        }
    }
}
